﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CC_day_15___Chores.Models;

namespace CC_day_15___Chores.Controllers
{
    public class HomeController : Controller
    {

        // create the Bedroom chores here 
        Bedroom MakeBed = new Bedroom()
        {
            ChoreName = "Make Bed"
        };

        Bedroom Vacuum = new Bedroom()
        {
            ChoreName = "Vacuum"
        };
        Bedroom Dust = new Bedroom()
        {
            ChoreName = "Dusting"
        };
     

       
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult Bedroom()
        {
            ViewBag.Message = "List of All Bedroom Chores";
            // make a list of Bedroom chores
            List<Bedroom> BedroomChores = new List<Bedroom>() { MakeBed, Vacuum, Dust, };
            return View(BedroomChores);
        }

      

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }
    }
}